from django.conf.urls import url
from rest_framework import routers

from . import views

urlpatterns = [
    url('^perms/config/$', views.RolePermsConfig.as_view()),
]

router = routers.DefaultRouter()
router.register('role', views.RoleViewSet)
router.register('user', views.UserViewSet)

urlpatterns += router.urls
